<#-- 导入模版定义文件-->
<#include "../template/template_editPage.ftl">
<@edit title="课题详情">
<body class="input">
	<div class="body">
		<div class="inputBar">
			<h1><span class="icon">&nbsp;</span>课题详情</h1>
		</div>
		<form id="inputForm" class="validate">
			<ul class="tab">
				<li>
					<input type="button" value="基本信息" hidefocus="true" />
				</li>
			</ul>
			<table class="inputTable tabContent">
				<tr>
					<th>
						课题编号:
					</th>
					<td>
						${(topicInfo.topicId)!}
					</td>
					<th>
						课题名称：
					</th>
					<td>
						${(topicInfo.topicName)!}
					</td>
                </tr>
                <tr>
                	<th>
						视频地址：
					</th>
					<td>
						${(topicInfo.topicName)!}
					</td>
                   	<th>
						发布人：
					</th>
					<td>
						${(topicInfo.userId)!}
					</td>
                </tr>
                <tr>
					<th>
						课题日期：
					</th>
					<td>
						<input type="text" id="signBenginTime" name="topicInfo.topicBeginTime"
                          onclick="WdatePicker({skin:'whyGreen',startDate:'%y',dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'signEndTime\')||\'%y-%M-%d\'}'})"
                           value="${(topicInfo.topicBeginTime)!}" class="Wdate fixWidth" >
				     <span>--</span> <input type="text" id="signEndTime" name="topicInfo.topicEndTime"
                          onclick="WdatePicker({skin:'whyGreen',startDate:'%y',dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'signBenginTime\')}',maxDate:'%y-%M-%d'})"
                          value="${(topicInfo.topicEndTime)!}" class="Wdate fixWidth">
					</td>
				</tr>
                <tr>
                	<th>
						课题预览图：
					</th>
					<td>
						<img id="imgShow1" width="160" height="100"  src="${(web_base + (topicInfo.prePhotoPath))!}"/>
					</td>
					<th>
						课题大图：
					</th>
					<td>
						<img id="imgShow2" width="180" height="100" src="${(web_base + (topicInfo.mainPhotoPath))!}"/>
					</td>
				</tr>
                <tr>
                    <th>
                                                        发布时间：
                    </th>
                    <td>
                        <#if topicInfo.publishTime?exists&&topicInfo.publishTime?is_date>
								${((topicInfo.publishTime)!)?string("yyyy-MM-dd HH:mm:ss")}
						</#if>
                    </td>
					<th>
						修改时间：
					</th>
					<td>
						<#if topicInfo.updateTime?exists&&topicInfo.updateTime?is_date>
								${((topicInfo.updateTime)!)?string("yyyy-MM-dd HH:mm:ss")}
						</#if>
					</td>
				</tr>
				<tr>
					<th>
						点赞数：
					</th>
					<td>
						${(topicInfo.likeNum)!}
					</td>
					<th>课题简介：</th>
					<td>
						<textarea rows="8" cols="60" name="activityInfo.introduction" class="formText {}" readonly="readonly">${(topicInfo.topicIntroduction)!}</textarea>
					</td>
				</tr>
               
			</table>
			<div class="buttonArea">
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
		</form>
	</div>
</body>
</@edit>
